﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace Test
{
    //[XmlType(TypeName = "Medsoon",Namespace = "http://tempurl.org")]
    [XmlRoot("Medsoon", Namespace = "http://tempurl.org")]
    public class LaborderlistClass
    {
        [XmlElement("Code")]
        public string Code { get; set; }
        [XmlElement("Desc")]
        public string Desc { get; set; }
        [XmlArray("PrintItems")]
        public List<PrintItem> PrintItems { get; set; }
    }
    [XmlType(TypeName = "PrintItem")]
    public class PrintItem
    {
        [XmlElement("cid")]
        public string Cid { get; set; }
        [XmlElement("name")]
        public string Name { get; set; }
        [XmlElement("sex")]
        public string Sex { get; set; }
        [XmlElement("age")]
        public string Age { get; set; }
        [XmlElement("birthday")]
        public string Birthday { get; set; }
        [XmlElement("itemName")]
        public string ItemName { get; set; }
        [XmlElement("itemNameId")]
        public string ItemNameId { get; set; }
        [XmlElement("barcode")]
        public string Barcode { get; set; }
        [XmlElement("TubeType")]
        public string TubeType { get; set; }
        [XmlElement("TubeColor")]
        public int TubeColor { get; set; }
        [XmlElement("TubeLength")]
        public int TubeLength { get; set; }
        [XmlElement("Volume")]
        public string Volume { get; set; }
        [XmlElement("ProduceDept")]
        public string ProduceDept { get; set; }
        [XmlElement("executeDept")]
        public string ExecuteDept { get; set; }
        [XmlElement("reportType")]
        public string ReportType { get; set; }
        [XmlElement("reportTime")]
        public string ReportTime { get; set; }
        [XmlElement("Note")]
        public string Note { get; set; }
        [XmlElement("Number")]
        public int Number { get; set; }
        [XmlElement("BillingTime")]
        public string BillingTime { get; set; }
        [XmlElement("BillingName")]
        public string BillingName { get; set; }
        [XmlElement("BeforeMeals")]
        public string BeforeMeals { get; set; }
        [XmlElement("Charge")]
        public string Charge { get; set; }
    }
    [XmlType(TypeName = "Medsoon")]
    public class SendSampleSatus
    {
        [XmlElement("Code")]
        public string Code { get; set; }
        [XmlElement("Desc")]
        public string Desc { get; set; }
    }
    [XmlType(TypeName = "Medsoon")]
    public class SampleInfo
    {
        [XmlElement("Code")]
        public string Code { get; set; }
        [XmlElement("Desc")]
        public string Desc { get; set; }
        [XmlElement("Name")]
        public string Name { get; set; }
    }

}